Skip to content

Comments

dawehner/amp-library#1

Merged
Nesstech merged 37 commits intomasterfrom
hulu-support
May 16, 2017
Merged

dawehner/amp-library#1
Nesstech merged 37 commits intomasterfrom
hulu-support

Conversation

@Nesstech
Copy link
Owner

FuzzyTree and others added 30 commits September 22, 2016 18:10
…tom script tags from:

https://github.com/ampproject/amphtml/blob/master/extensions/amp-ad/0.1/validator-amp-ad.protoascii

Regenerating the validator was necessary to avoid flagging the script tag for <amp-ad> in <head> as an error
removed duplicate word "output"
Add amp-ad script to <head> if needed
Support Facebook posts with photo url schemas
Bug fix: height check on setResponsiveImgHeightAndWidth
Fix for the Youtube code getter
Add amp-sidebar component mapping on context.php
The DOM parser throws away invalid HTML.

When you have http://youtube.com/embed/_FlV6pgwlrk&list=123 then
the `IframeYouTubeTagTransformPass::getYouTubeCode()` will match the
ID as `_FlV6pgwlrk&list=123` but since the ampersand isn't in a
proper HTML format (`&amp;`), then DOM will throw this whole
element away.

I wrote a test to make sure noone breaks this in the future.
@Nesstech Nesstech merged commit c489763 into master May 16, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

7 participants